package com.jqr.activity.myrecyclerviewdemo.adapters;

import android.view.View;
import android.view.ViewGroup;


import androidx.annotation.NonNull;

import com.jqr.activity.myrecyclerviewdemo.R;
import com.jqr.activity.myrecyclerviewdemo.model.ItemModel;

import java.util.List;

public class GridViewAdaper extends RecycleAdapterBase{
    public GridViewAdaper(List<ItemModel> itemModels){
        super(itemModels);
    }
    @Override
    public View getSubView(@NonNull ViewGroup parent, int viewType) {
        return View.inflate(parent.getContext(), R.layout.grid_view_recycle_view_item,null);
    }
}
